using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.User
{
    public class UserSelectHistory
    {
        public UserSelectHistory()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _selectedid;
        private string _selectedtype;
        private Int64 _selectedresultid;
        private Int64 _selectedcompanyid;
        private Int64 _viewedid;
        private byte _viewedno;
        private byte _selectedcount;
        private DateTime _selecteddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;

        public Int64 SelectedId
        {
            get { return _selectedid; }
            set { _selectedid = value; }
        }
        
        public string SelectedType
        {
            get { return _selectedtype; }
            set { _selectedtype = value; }
        }

        public Int64 SelectedResultId
        {
            get { return _selectedresultid; }
            set { _selectedresultid = value; }
        }

        public Int64 SelectedCompanyId
        {
            get { return _selectedcompanyid; }
            set { _selectedcompanyid = value; }
        }

        public Int64 ViewedId
        {
            get { return _viewedid; }
            set { _viewedid = value; }
        }

        public byte ViewedNo
        {
            get { return _viewedno; }
            set { _viewedno = value; }
        }

        public byte SelectedCount
        {
            get { return _selectedcount; }
            set { _selectedcount = value; }
        }

        public DateTime SelectedDate
        {
            get { return _selecteddate; }
            set { _selecteddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public void ClearFields()
        {
            _selectedid = 0;
            _selectedtype = "";
            _selectedresultid = 0;
            _selectedcompanyid = 0;
            _viewedid = 0;
            _viewedno = 0;
            _selectedcount = 0;
            _selecteddate = new DateTime(1900, 1, 1);

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
        }

    }
}
